
/*
 * Hlpay-Plus aggregate payment system. Copyright
 * (c) 2022-2023 Hlpay Team Copyright has the right of final interpretation.
 */
package com.hlkj.pay.app.transfer;
import com.hlkj.pay.dto.admin.AdminUserDto;
import com.hlkj.pay.infrastructure.model.admin.AdminUserDO;
import com.hlkj.pay.vo.admin.resp.user.AdminUserAccountResp;
import com.hlkj.pay.vo.admin.resp.user.AdminUserResp;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;
/**
 * @author HlpayTeam
 * @date 2024/09/01 15:14
 */
@Mapper
public interface UserDoToResp {
	UserDoToResp INSTANCE = Mappers.getMapper(UserDoToResp.class);
	/**
	 * bo to resp
	 * @param adminUserDtoList
	 * @return
	 */
	List<AdminUserResp> domainToRespList(List<AdminUserDto> adminUserDtoList);
	/**
	 * bo to resp
	 * @param adminUserDto
	 * @return
	 */
	AdminUserResp domainToResp(AdminUserDto adminUserDto);
	/**
	 * bo to resp
	 * @param adminUserDoList
	 * @return
	 */
	List<AdminUserResp> doToRespList(List<AdminUserDO> adminUserDoList);
	/**
	 * bo to resp
	 * @param adminUserDo
	 * @return
	 */
	AdminUserResp doToResp(AdminUserDO adminUserDo);
	/**
	 * bo to resp
	 * @param adminUserDto
	 * @return
	 */
	AdminUserAccountResp domainToAccountResp(AdminUserDto adminUserDto);
	
	
}
